package org.example.SecondarySortApp

import org.apache.spark.{SparkConf, SparkContext}

object zy3 {
  def main(args: Array[String]): Unit = {
    val conf = new SparkConf().setAppName("scala").setMaster("local");
    var sc = new SparkContext(conf);
    val lines = sc.textFile("/data/zy1")
    lines.repartition(1);
    //val a=lines.map(lien=>(lien.split(" ")(0))
  }
}
